to use the rtc as normal user do the following
 sudo sysctl -w dev.rtc.max-user-freq=8192

select and nanosleep can only use the timer resolution, which is set in the kernel. E.g the timer is set to 250Hz, then only the 
following samle times are possible: 4ms,8ms,12ms, ....


